﻿@model dynamic
@{   
    int k = 0;   
}
<table class="Reporte1" id="tbr">
    <thead>
        <tr>
            <th>#</th>        
            <th style="width:90px;">Número</th>
            <th>Función de la Politica</th>
            <th style="width:100px;">Tipo Politica</th>
            <th style="width:45px;">N° de Sesion</th>        
            <th style="width:85px;">Fecha Aprobación</th>
            <th style="width:85px;">Inicio Vigencia</th>
            <th style="width:85px;">Fin Vigencia</th>        
        </tr>
     </thead>
    @foreach (var item in Model)
    {
        k++;       
        <tr class="@(k%2 != 0 ? "odd" : "even")">
            <td>@k]</td>          
            <td><a onclick="javascript:detallePolitica('#poPup','@item.nIdePoli');">@item.vNomCorto-@item.nAnio-@String.Format("{0:0000}", @item.nNumePoli)</a></td>
            <td>@item.vFunciPoli</td>
            <td>@item.vNomDetalle</td>
            <td>@item.nSesion</td>
            <td>@String.Format("{0:dd/MM/yyyy}", item.dFecAprob)</td>
            <td>@String.Format("{0:dd/MM/yyyy}", item.dFecIniVig)</td>
            <td>@String.Format("{0:dd/MM/yyyy}", item.dFecFinVig)</td>          
        </tr>
    }
</table>


